package sol.leetcode;

/**
 * Bulb Switcher
 */
public class Issue319 {
    public int bulbSwitch(int n) {
        return (int) Math.sqrt(n);
    }

    public static void main(String[] args) {
        int n = 5;
        System.out.println(new Issue319().bulbSwitch(n));
    }
}
